<div class="page_detail bg-primary">
    <header class="navbar navbar-fixed-top container-fuild bg-primary">
        <div class="row clearfix">
            <div class="col-xs-4 go text-left">
                <button onclick="history.go(-1)" class="btn icon-ss-left">返回</button>
            </div>
            <div class="col-xs-4 text-center title">商品详情</div>
            <div class="col-xs-4 go text-right">
                <button class="btn" ui-sref="home">首页</button>
            </div>
        </div>
    </header>
    <article>
        <section class="main clearfix">
            <img ng-src="{{base_info.brief_pic}}" class="compic"/>
            <div class="info container">
                <h4 class="name  text-center text-info" ng-bind="base_info.name"></h4>

                <p class="desc" ng-bind="base_info.desc"></p>

                <p class="text-info">
                    <span><i class="price">{{base_info.sale_price}}元</i>/<i
                            class="unit" ng-bind="base_info.unit_name"></i> </span>
                </p>

                <p class="row">
                    <span class="col-xs-6 text-left">规格：<i class="spec" ng-bind="base_info.spec"></i></span>
                    <span class="col-xs-6 text-right">产地：<i class="origin" ng-bind="base_info.origin"></i></span>
                </p>
                <p class="row">
                    <span class="col-xs-5 text-left" ng-bind="limited"></span>
                    <span class="col-xs-7 text-right" ng-bind="timelimited"></span>
                </p>
            </div>
            <div class="detail">
                <div ng-repeat="img in ext_imgs" ng-if="img.type == 3">
                    <img data-lazy-src="{{img.brief_pic}}" alt="">
                </div>
            </div>
        </section>
        <section class="boundary clearfix" ng-if="recommand.length > 0">
            <div class="">
                <div class="comOne row" ng-repeat="comOne in recommand">
                    <div class="pic" ui-sref="detail({cid:comOne.commodity_id})">
                        <img data-lazy-src="{{comOne.brief_pic}}"  alt="" src="">
                    </div>
                    <div class="info">
                        <p ui-sref="detail({cid:comOne.commodity_id})" class="name text-left" ng-bind="comOne.name"></p>
                        <p ui-sref="detail({cid:comOne.commodity_id})" class="brief text-left" ng-bind="comOne.brief_desc"></p>
                        <p ui-sref="detail({cid:comOne.commodity_id})" class="origin text-left">产地：<span ng-bind="comOne.origin"></span> <span ng-if="comOne.is_limit">限量：<i ng-bind="comOne.left_num"></i></span></p>
                        <p ui-sref="detail({cid:comOne.commodity_id})" class="spec text-left">规格：<span ng-bind="comOne.spec"></span> </p>
                        <p ui-sref="detail({cid:comOne.commodity_id})" class="price text-warning text-left"><i class="num" ng-bind="comOne.sale_price"></i>元/{{comOne.unit_name}}
                        </p>
                    </div>
                    <div class="operate" ng-class="checkOperate(comOne.commodity_id)">
                        <p class="icon-ss-plus text-center" toucheffect ng-click="NumPlus(comOne.commodity_id)"></p>

                        <p class="num text-center" ng-if="checkCart(comOne.commodity_id) > 0"
                           ng-bind="checkCart(comOne.commodity_id)"></p>

                        <p class="icon-ss-minus text-center" ng-if="checkCart(comOne.commodity_id) > 0" toucheffect
                           ng-click="NumMinus(comOne.commodity_id)"></p>
                    </div>
                </div>
            </div>
        </section>
        <section id="detail_player" class="detail_player"></section>
		<section ng-if="base_info.has_rule == 1">
			<section class="extra">
				<img src="http://img-idm.shishifresh.com/Public/uploadFiles/2016-03-14/59f53c3f6fe10487b154103e8bf6d8eb.png" alt="">
			</section>
        </section>
		
		<section class="extra">
            <img src="/Public/Image/logo5.png" alt="">
        </section>
    </article>
    <footer class="navbar navbar-fixed-bottom container-fuild bg-primary" ng-hide="former=='gpon'">
        <div class="row">
            <div class="col-xs-8 operate">
                <div class="col-xs-4 text-center">
                    <span class="icon icon-ss-minus textcenter" ng-click="NumMinus(cid)"
                          ng-disabled="checkCart(cid) <= 0">
                        <i class="path1 textcenter"></i> <i class="path2 textcenter"></i>
                    </span>
                </div>
                <div class="col-xs-4 num text-center" ng-bind="checkCart(cid)"></div>
                <div class="col-xs-4 text-center" ng-click="NumPlus(cid)">
                    <i class="icon icon-ss-plus"></i>
                </div>
            </div>
            <div class="col-xs-4 text-right">
                <button class="btn btn-info" ui-sref="cart">去结算<i class="icon-ss-cart"></i></button>
            </div>
        </div>
    </footer>
</div>
